package com.example.leetcode.hash;

import com.example.leetcode.hash.common.HashUtils;

class Solution1814 {
    public int countNicePairs(int[] nums) {
        return HashUtils.countNicePairs(nums);
    }
}

public class leetcode1814 {
    public static void main(String[] args) {
        Solution1814 solution1814 = new Solution1814();
        int[] nums = {42, 11, 1, 97};
        int[] nums1 = {13,10,35,24,76};
        System.out.println(solution1814.countNicePairs(nums));
        System.out.println(solution1814.countNicePairs(nums1));
    }
}
